package com.ruoyi.fund.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.vo.PoCommon;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资金账户对象 dms_fund
 * 
 * @author liuchuanfa
 * @date 2024-03-06
 */
public class DmsFund extends PoCommon
{
    private static final long serialVersionUID = 1L;

    /** 资金所属方id（201厂端 101深圳经销商 102广州经销商） */
    @Excel(name = "资金所属方id")
    private Long fundOwnerId;

    /** 资金所属方名称（0厂端 1深圳经销商 2广州经销商） */
    @Excel(name = "资金所属方名称", readConverterExp = "0=厂端,1=深圳经销商,2=广州经销商")
    private Integer fundOwnerName;

    /** 资金所属方类型（0厂端 1店端） */
    @Excel(name = "资金所属方类型", readConverterExp = "0=厂端,1=店端")
    private Integer fundOwnerType;

    /** 资金金额 */
    @Excel(name = "资金金额")
    private Double fund;

    public void setFundOwnerId(Long fundOwnerId) 
    {
        this.fundOwnerId = fundOwnerId;
    }

    public Long getFundOwnerId() 
    {
        return fundOwnerId;
    }
    public void setFundOwnerName(Integer fundOwnerName) 
    {
        this.fundOwnerName = fundOwnerName;
    }

    public Integer getFundOwnerName() 
    {
        return fundOwnerName;
    }
    public void setFundOwnerType(Integer fundOwnerType) 
    {
        this.fundOwnerType = fundOwnerType;
    }

    public Integer getFundOwnerType() 
    {
        return fundOwnerType;
    }
    public void setFund(Double fund)
    {
        this.fund = fund;
    }

    public Double getFund()
    {
        return fund;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fundOwnerId", getFundOwnerId())
            .append("fundOwnerName", getFundOwnerName())
            .append("fundOwnerType", getFundOwnerType())
            .append("fund", getFund())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createUserName", getCreateUserName())
            .append("updateUserName", getUpdateUserName())
            .append("version", getVersion())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
